package ooday01;

public class CarTest {
    public static void main(String[] args) {
        Car c1 = new Car();
        c1.brand = "奔驰";
        c1.color = "黑";
        c1.price = 80;
        c1.start();
        c1.run();
        c1.stop();

        Car c2 = new Car("奥迪","银",40);
        c2.start();
        c2.run();
        c2.stop();

        Car c3 = new Car("特斯拉","白",70);
        c3.start();
        c3.run();
        c3.stop();



    }
}
